﻿using Book.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Book.Data
{
    public class BookDbContext : DbContext
    {
        public BookDbContext(DbContextOptions options) : base(options)
        {

        }
        public DbSet<UserEntity> user { get; set; }
        //
        public DbSet<ArticleEntity> article { get; set; }
        public DbSet<MenuEntity> menu { get; set; }   
        public DbSet<LabMemberEntity> member { get; set; }
        public DbSet<AchievementsEntity> achievements { get; set; }

    }
}
